Merge branch 'master' into elu-strategy
[poolifier.git] / src / worker / worker-options.ts
index 791f915d580a32c822d91148db7d91f7dbf82912..e0cd392f0966769f197859b67bd53e4c1b8304f1 100644 (file)
@@ -25,10 +25,10 @@ export type KillBehavior = keyof typeof KillBehaviors
  * @param value - Any value.
  * @returns `true` if `value` was strictly equals to `killBehavior`, otherwise `false`.
  */
-export function isKillBehavior<KB extends KillBehavior> (
+export const isKillBehavior = <KB extends KillBehavior>(
   killBehavior: KB,
   value: unknown
-): value is KB {
+): value is KB => {
   return value === killBehavior
 }