ReferenceGraphQL API ReferenceDirectivestrimOn this pagetrimStrips leading and trailing whitespace from a string or each string in an array. Example: _fn @trim(ref: "name") trims the value of 'name'. directive @trim( ref: String refs: [String!]) on FIELD Arguments trim.ref ● String scalar trim.refs ● [String!] list scalar