From f46ef3dbf889e3e1cc9603e437dd5ae1e957ce4c Mon Sep 17 00:00:00 2001
From: Matei Adriel <rafaeladriel11@gmail.com>
Date: Mon, 23 Dec 2019 14:16:32 +0200
Subject: [PATCH] typescript(option): fix: Fixed the name of isNone
 typescript(option): typescript(option): Previously the name was isNothing bu
 isNone makes more sense typescript(option): typescript(option): BREAKING
 CHANGE: Changed the name of isNothing to isNone

Signed-off-by: prescientmoon <git@moonythm.dev>
---
 typescript/option/src/helpers/isNone.ts | 2 +-
 typescript/option/src/helpers/isSome.ts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/typescript/option/src/helpers/isNone.ts b/typescript/option/src/helpers/isNone.ts
index a55f27a..b2a90e0 100644
--- a/typescript/option/src/helpers/isNone.ts
+++ b/typescript/option/src/helpers/isNone.ts
@@ -1,4 +1,4 @@
 import { Option } from '../types'
 import { none } from '../internals'
 
-export const isNothing = <T>(option: Option<T>) => option.__brand === none
+export const isNone = <T>(option: Option<T>) => option.__brand === none
diff --git a/typescript/option/src/helpers/isSome.ts b/typescript/option/src/helpers/isSome.ts
index 51fd00c..7839bb6 100644
--- a/typescript/option/src/helpers/isSome.ts
+++ b/typescript/option/src/helpers/isSome.ts
@@ -1,4 +1,4 @@
 import { Option } from '../types'
-import { isNothing } from './isNone'
+import { isNone } from './isNone'
 
-export const isSome = <T>(option: Option<T>) => !isNothing(option)
+export const isSome = <T>(option: Option<T>) => !isNone(option)