Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.isnan

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.isnan
import { fn } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { isnan } = fn;

Return TRUE if {expr} is a float with value NaN.

echo isnan(0.0 / 0.0)

    1

Can also be used as a method:

Compute()->isnan()

Parameters

denops: Denops
expr: unknown

Returns

Promise<number>