function detectimport { detect } from "https://deno.land/std@0.223.0/fs/mod.ts"; detect(content: string): EOL | nullReturns the detected EOL character(s) detected in the input string. If no EOL character is detected, null is returned. ExamplesExample 1 import { detect } from "https://deno.land/std@0.223.0/fs/eol.ts"; detect("deno\r\nis not\r\nnode"); // "\r\n" detect("deno\nis not\r\nnode"); // "\r\n" detect("deno\nis not\nnode"); // "\n" detect("deno is not node"); // null Parameterscontent: stringThe input string to detect EOL characters. ReturnsEOL | nullThe detected EOL character(s) or null if no EOL character is detected.