Operators — visão geral
Entradas fluentes tree-shakeable para o frontend.Import: @koalarx/utils/operators
Comece na função e encadeie com .. Retorno em geral é Kl* (não primitivo).
typescript
import { format, maskCpf, clear, split } from '@koalarx/utils/operators';
format(new Date('2023-10-01'), 'dd/MM/yyyy').split('/');
maskCpf('12345678909').onlyNumbers();
clear('Olá Mundo').toCamelCase().toString();
split('a,,b,c', ',').clearEmptyValues();
Atenção: maskCpf em KlString retorna string; em operators retorna KlString.