NS Tools/Framework - v0.0.1
    Preparing search index...

    Function suffixParser

    • returns a function for parsing property names from a declaration (e.g. properties that end with 'Text' or 'Sublist' suffix per convention)

      Parameters

      • suffixToSearch: string

        string that may be at the end of a property name. this string will be strippped off the end of the property name if it is present.

      Returns (propertyKey: string) => [boolean, string]

      function that takes a property name and returns a pair [flag indicating this field matched the suffix, the stripped property name (with suffix removed)]