bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class ThresholdBooleanListDto

    Index

    Constructors

    Properties

    Constructors

    Properties

    numbers: number[]

    Numbers to remap to bools based on threshold

    undefined
    
    threshold: number

    Threshold for the numeric value until which the output will be true. If number in the list is larger than this threshold it will become false if inverse stays false.

    1
    

    0

    Infinity

    0.1

    inverse: boolean

    True values become false and false values become true

    false