Function hasPreset

  • Returns true if and only if a given preset is already included in a list of presets Check is done using referential equality

    Type Parameters

    • P extends Partial<any> = Partial<any>

    Parameters

    • presets: Presets<P>

      the list to check

    • preset: P

      the preset to check for

    Returns boolean

Generated using TypeDoc