• Returns a string value of 'Y'/'N' from the boolean value

    Parameters

    • Optionalvalue: boolean

      the boolean value to check

    Returns string | undefined

    the string value of 'Y'/'N' from the boolean value

    toStringYN(true);    // 'Y'